@import "mixin.less";
@wrong-color:#f34836;

.main {
    background-color: #fff;
}
.tips {
    padding-top: 0.333333rem;
    padding-bottom: 0.333333rem;
    color: #525252;
    .font-dpr(14px);
    text-align: center;
    em {
        color: @base-color;
    }
}
.title {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    .font-dpr(14px);
    line-height: 0.613333rem;
    text-align: justify;
    color: #6b6b6b;
    em {
        color: @base-color;
    }
}
ul li:active {
    background-color: #f7f7f7;
}
ul li {
    cursor: pointer;
    position: relative;
    padding-top: 0.266667rem;
    padding-bottom: 0.266667rem;
    .font-dpr(14px);
    color: #6b6b6b;
    padding-left: 0.933333rem;
    em {
        position: absolute;
        left: 0;
        top: 0.266667rem;
        display: inline-block;
        width: 0.746667rem;
        height: 0.746667rem;
        color: @base-color;
        text-align: center;
        line-height: 0.746667rem;
        background-color: #fff;
        border-radius: 100px;
        [data-dpr="1"] & {
            &:after {
                content: " ";
                width: 200%;
                height: 200%;
                position: absolute;
                top: 0;
                left: 0;
                border: 2px solid @base-color;
                -webkit-transform: scale(0.5);
                transform: scale(0.5);
                -webkit-transform-origin: 0 0;
                transform-origin: 0 0;
                box-sizing: border-box;
                border-radius: 100px;
            }
        }
        [data-dpr="2"] & {
            border: 2px solid @base-color;
            border-radius: 100px;
        }   
        [data-dpr="3"] & {
            border: 2px solid @base-color;
            border-radius: 100px;
        }
    } 
    p {
        text-align: justify;
        line-height: 0.746667rem;
    }
}
li.isRight em{
    border:none!important;
    background-color: @base-color;
    color: #fff;
}
li.isWrong em{
    border:none!important;
    background-color: @wrong-color;
    color: #fff;
    &:after {
        border:none!important;
    }
}
li.shake {
    animation: shake 0.2s cubic-bezier(0.17, 0.89, 0.32, 1.49);
    animation-fill-mode : forwards;
}
.choose {
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content:center;
    margin-top: 0.5rem;
    margin-bottom: 0.4rem;
    width: 100%;
    height: 1.8rem;
    border-radius: 200px;
    background-color: #bbfcff;
    div {
        display: flex;
        flex-wrap: wrap;
        width: 50%;
        p {
            width: 100%;
            text-align: center;
            .font-dpr(14px);
            color: #6b6b6b;
        }
        p:nth-child(1) {
            color: @base-color;
            .font-dpr(18px);
        }
        p.isWrong {
            color: @wrong-color;
        }
    }
}
.choose.showAnswer{
    animation: heart 0.5s cubic-bezier(0.17, 0.89, 0.32, 1.49);
    animation-fill-mode : forwards;
    animation-delay:0.2s;
}
.footer {
    text-align: center;
    padding-bottom: 0.266667rem;
    p {
        .font-dpr(13px);
        color: #525252;
        padding-top: 0.533333rem;
        padding-bottom: 0.266667rem;
    }
    a {
        .font-dpr(18px);
        background-color: @base-color;
        border-radius: 100px;
        color: #fff;
        display: inline-block;
        width: 7.786667rem;
        height: 1.066667rem;
        line-height: 1.066667rem;
    }
}
.right-line:before {
    border-right-color: @base-color!important;
}
@keyframes heart {
  0%{
    transform: scale(0.7);
    opacity: 0.5;
  }
 
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes shake {
  0%{
    transform: translateX(-10px);
  }
  20% {
    transform: translateX(0px);
  }
  40%{
    transform: translateX(10px);
  }
  60%{
    transform: translateX(0px);
  }
  80%{
    transform: translateX(-10px);
  }
  100% {
    transform: translateX(0px);
  }
}
